package com.expression.uartagent.core.inter;

/**
 * Copyright (c) 2016, SuZhou CsjBot. All Rights Reserved. <br>
 * www.csjbot.com<br>
 * <p>
 * Created by 浦耀宗 at 2016/11/07 0007-19:19.<br>
 * Email: puyz@csjbot.com<br>
 * <p></p>
 * 动作只有两种结果，成功和失败，失败有失败的原因
 * ActionListener 封装了
 */
public interface ActionListener {
    void onSuccess();

    void onFailed(int errorCode);
}
